<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script src="./js/jquery.min.js"></script>
    <script src="./js/axios.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <link href="./css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
    <style>
        .t1 {
            margin-top: 20px;
            margin-left: 10px;
            font-size: 14px;
            width: 100%;
        }

        td, th {
            width: 15%;
            text-align: center;
        }

        .form-group .form-control {
            width: 173px !important;
        }

        .btn_search {
            margin-left: 20px;
        }

        .div_pagination {
            padding-left: 10px;
        }
    </style>
</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">${requestScope.userList[0].role.roleName}菜单列表</div>
</div>
<hr>
<!-- 表格数据 -->
<table class="table table-bordered table-hover t1">
    <thead>
    <tr>
        <th>编号</th>
        <th>父级菜单编号</th>
        <th>当前菜单</th>
        <th>菜单路径</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="menuInfo" items="${requestScope.menuList}">
        <tr>
            <td>${menuInfo.menuId}</td>
            <td>${menuInfo.menuParentId}</td>
            <td>${menuInfo.menuName}</td>
            <td>${menuInfo.menuUrl}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>


</body>
</html>
